import request from '@/utils/modules/request';
import baseUrl from './base-url';

function systemFetchOrgInfo(data, ...params) {
	return request({
		baseUrl,
		data,
		url: '/controller-rural/api/system/fetchOrgInfo',
	}, {
		isRaw: true
	});
}

// function fetchCurrentCustomerApi(data, ...params) {
// 	return request({
// 		baseUrl,
// 		data,
// 		url: '/controller-rural/api/customer/fetchCustomerProcessState',
// 	}, ...params);
// }

function commonGet(data) {
	return request({
		baseUrl,
		data,
		method: 'GET',
		url: '/api/common-get-success',
	}, {
		isRaw: true
	});
}

export default {
	systemFetchOrgInfo,
	commonGet
};
